<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords"
	content="图片SNS社区,视频SNS社区,音乐SNS社区,个性化圈子,个性化视频,问题发现,问题推荐,问题分享,热点视频,精彩图片,最好音乐" />
<meta name="description"
	content="优问网让你的问题会说话,是一个图片、视频、音乐SNS社区，玩转优问，分享问题，一网打尽全网最热图片、最好看视频、最好听音乐。凭借最快速、最全的热点发掘，独有的圈子体验，在这里你能找到同趣好友，分享热门、搞笑、美女等，尽享视觉社交的最大乐趣。">
<title>登陆-优问网,发现精彩问题 分享无限快乐</title>
<style type="text/css">
* {
	margin: 0;
	padding: 0;
}

body {
	font-size: 12px;
	font-family: "Microsoft Yahei", "微软雅黑", Tahoma, Arial, Helvetica,
		STHeiti;
	color: #5F6468;
	background: url(img/reg_bg.jpg) no-repeat center top;
	padding: 30px 0;
}

a img,*:link img,*:visited img {
	border: 0 none;
}

a {
	text-decoration: none;
	color: #5F6468;
}

.logo {
	width: 960px;
	margin: 0 auto 20px;
}

.logo img {
	margin-right: 5px;
	vertical-align: middle;
}

#registerDiv {
	width: 960px;
	min-height: 400px;
	margin: 0 auto;
	box-shadow: 0 0 3px #ccc;
	padding: 20px;
	background: #fff;
	border-radius: 5px;
}

.regLeft {
	float: left;
	width: 600px;
	height: 400px;
	padding-right: 35px;
	border-right: solid 1px #aaa;
}

.regRight {
	margin-left: 670px;
}

#registerDiv .inner {
	padding: 0 26px;
	position: relative;
}

h3 {
	color: #768263;
	font-size: 26px;
	font-weight: normal;
	margin-bottom: 26px;
}

.regGo {
	background: #90C43C;
	border-radius: 3px;
	line-height: 29px;
	text-align: center;
	color: #fff;
	font-size: 14px;
	display: block;
	height: 29px;
	margin-top: 10px;
	width: 111px;
}

.text {
	border: 1px solid #CFCFCF;
	color: #999999;
	height: 30px;
	line-height: 30px;
	margin-left: 8px;
	padding-left: 8px;
	width: 226px;
}

.lg_name {
	float: left;
}

.lg_name span {
	color: #333333;
	float: left;
	font-size: 14px;
	line-height: 29px;
	margin-top: 2px;
}

.err_name {
	float: left;
	margin-left: 12px;
	margin-top: 9px;
	visibility: visible;
	display: none;
}

.err_name span {
	background: url("img/error1.png") no-repeat scroll left center;
	color: #FF89A7;
	display: block;
	margin-left: 4px;
	padding-left: 21px;
}

.lg_pass {
	float: left;
	margin-left: 16px;
	margin-top: 20px;
}

.err_pass {
	float: left;
	margin-left: 12px;
	margin-top: 28px;
	visibility: visible;
	display: none;
}

.err_pass span {
	background: url("img/error1.png") no-repeat scroll left center
		transparent;
	color: #FF89A7;
	margin-left: 4px;
	padding-left: 21px;
}

.lg_remember,.lg_login,.ot_login {
	margin-left: 60px;
	margin-top: 20px;
}

.lg_login .sub {
	background: #FF5A00;
	border-radius: 3px;
	line-height: 29px;
	text-align: center;
	color: #fff;
	font-size: 14px;
	border: none;
	cursor: pointer;
	height: 29px;
	width: 84px;
}

.lg_login a {
	color: #666666;
	margin-left: 12px;
	text-decoration: underline;
}

.ot_login span {
	color: #999999;
}

.ot_btn {
	margin-top: 15px;
}

.ot_btn a {
	float: left;
	margin-right:10px;
}

.clear {
	clear: both;
}

.iserror {
	background: url("img/error_bg.png") no-repeat scroll 0 0 transparent;
	height: 133px;
	left: 340px;
	position: absolute;
	top: 60px;
	width: 248px;
	display: none;
}

.iserror .war {
	margin-left: 25px;
	margin-top: 10px;
}

.iserror .war img {
	text-align: center;
	vertical-align: middle;
}

.iserror .war span {
	color: #FF69A3;
	font-weight: bold;
	margin-left: 6px;
}

.iserror .content {
	height: 190px;
	margin-left: 25px;
	margin-top: 14px;
}
</style>
<script type="text/javascript" src="/js/jquery1.7.2.js"></script>
<script type="text/javascript" src="/js/global.js"></script>
<script type="text/javascript" src="/js/logIn.js"></script>
<script type="text/javascript">
function loginWith(obj){
	var url = "../loginWith/loginWith.action";
	var params = {"type":$(obj).attr("type")};
	doAjax(url,params,function(ajaxResult){
		if(ajaxResult.OK){
			var myWindow=window.open(ajaxResult.resultMap.oauthUrl,"TencentLogin", "width=450,height=320,menubar=0,scrollbars=0,resizable=no,status=no,titlebar=0,toolbar=0,location=no");
			if(myWindow!=null){
				setInterval(function p(){
					if(myWindow.closed){
						window.location.href = "http://yoasking.com";
					}
				},1000);
			}
		}
	});
}
</script>
</head>
<body>
	<h1 class="logo">
		<a href="http://www.yoasking.com"><img src="img/logoIco.png" />优问网</a>
	</h1>
	<div id="registerDiv">
		<div class="regLeft">
			<div class="inner">
				<form id="loginPageForm">
					<h3>用户登录</h3>
					<div class="lg_name">
						<span>用户名：</span> <input id="loginName" class="text r3"
							type="text" class="text" maxlength="32">
					</div>
					<div class="err_name">
						<span id="loginNameTip">dd</span>
					</div>
					<div class="clear"></div>
					<div class="lg_pass">
						<span>密码：</span> <input id="loginPassword" class="text r3"
							type="password" class="text r3" maxlength="32">
					</div>
					<div class="err_pass">
						<span id="loginPasswordTip"></span>
					</div>
					<div class="clear"></div>
					<div class="iserror">
						<div class="war">
							<img src="img/error1.png"> <span>登录名或密码错误</span>
						</div>
						<div class="content">
							<p>1、如果登录名是邮箱地址，请输入全称 如：yaya@yoasking.com</p>
							<p>2、请检查登录名大小写是否正确。</p>
							<p>3、请检查密码大小写是否正确。</p>
						</div>
					</div>
					<div class="clear"></div>
					<div class="lg_remember">
						<label> <input class="check" type="checkbox"
							checked="checked" name="remember" value="1"> <span>记住我（两周免登录）</span>
						</label>
					</div>
					<div class="lg_login">
						<input class="sub" onclick="pageLogin()" type="button" value="登陆">
						<a href="/toForget.action">忘记密码？</a>
					</div>
				</form>
				<div class="ot_login">
					<span>您也可以用以下方式登录：</span>
					<div class="ot_btn">
						<a style="margin-left: 0;" href="###" onclick='loginWith(this);'
							type="2"> <img src="img/login_sina_01.png">
						</a> <a class="login_qq" href="###" onclick='loginWith(this);'
							type="1"> <img src="img/login_qq.png">
						</a> 
						<!--  
						<a href="###" onclick='loginWith(this);' type="3"> <img
							src="img/login_taobao.png">
						</a> 
						-->
						<a href="###" onclick="loginWith(this)" type="4"> <img
							src="img/login_renren.png">
						</a>
						<!--  
						<a href="/user/signdouban"> <img
							src="img/login_douban_01.png">
						</a> 
						<a href="/tencent/login"> <img src="img/login_tencent.png">
						</a> 
						<a href="/wangyi/login"> <img src="img/login_wangyi.png">
						</a> 
						 -->
					</div>
				</div>
			</div>
		</div>
		<div class="regRight">
			<div class="inner">
				<h3>注册</h3>
				<p>还没有账号？</p>
				<a class="regGo" href="/toRegist.action">轻松注册</a>
			</div>
		</div>
	</div>
</body>
</html>